Github link (code attached): https://github.com/Cindy-f/Formula-data-analysis.git

2. Top Ten Race Starters:

From the bar plot above, the top ten race starters are (in order): Fernando Alonso(356), Kimi Räikkönen(349), Rubens Barrichello(322), Lewis Hamilton(311), Jenson Button(306), Michael Schumacher(306), Sebastian Vettel(299), Felipe Massa(269), Riccardo Patrese(256), Jarno Truill(252).

3. Top 10 Drivers by Pole Positions

From the bar plot above, the top ten drivers by pole positions are (in order): Lewis Hamilton(103), Michael Schumacher(68), Ayrton Senna(65), Sebastian Vettel(57), Alain Prost(33), Jim Clark(33), Nigel Mansell(32), Nico Rosberg(30), Juan Manuel Fangio(29), Mika Häkkinen(26).

4. Top 10 Drivers with Most Wins:

5: Racers’ Nationalities:

(1): Top 5 nationalities overall: (with counts)

## 
## United Kingdom  United States          Italy         France   West Germany 
##            164            160             99             72             39

As shown by the table and graph above, out of 868 Formula 1 drivers from 1950 to 2023, the top five most common nationalities are: United Kingdom(164), United States(160), Italy(99), France(72), West Germany(39).

(2): Nationalities of veteran drivers (at least 15 years active)

## [1] 242
## 
##  United States United Kingdom          Italy         France         Brazil 
##             41             38             33             24             10

From the table and graph above, we learn that: out of 242 veteran drivers (at least 15 years active), the top five nationalities are: United States(41), United Kingdom(38), Italy(33), France(24), and Brazil(10). We can see that the top five nationalities of active drivers are roughly the same as the top five overall nationalities (except that here number of US veteran drivers surpass that of UK’s and the 5th most common nationality is Brazil instead of West Germany).

(3): Nationalities of Winners(whose Race_Wins value is at least 1)

## [1] 113
## 
## United Kingdom          Italy  United States         France         Brazil 
##             20             15             15             14              6

From the table and graph above, the top five nationalities of 113 race winners are: UK(20), Italy(15), US(15), France(14), Brazil(6).